Dart.PowerTCP.SslSockets Namespace > SegmentedStream Class > Write Method : Write(Byte[],Int32,Int32) Method |
Writes data to the stream.
[Visual Basic]
Overloads Overrides Public Sub Write( _
ByVal buffer() As Byte, _
ByVal offset As Integer, _
ByVal count As Integer _
)
Exception | Description |
---|---|
IOException | Thrown when the stream is not Writeable. |
ArgumentNullException | Thrown when buffer is null. |
ArgumentOutOfRangeException | Thrown when the offset is less than zero or when count is less than or equal to zero. |
ArgumentException | Thrown when the (offset + count) > buffer.Length. |
This method writes a sequence of bytes to the stream and returns when the operation is complete.
Use the CanWrite property to determine whether the current instance supports writing.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
SegmentedStream Class | SegmentedStream Members | Overload List
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.